interface AppMenuItem {
  title: string;
  icon?: string;
  level: number;
  routeUrl?: string;
  open?: boolean;
  selected?: boolean;
  disabled?: boolean;
  children?: AppMenuItem[];
}

export const menuConfig: AppMenuItem[] = [
  {
    title: '首页',
    icon: 'home',
    level: 1,
    routeUrl: '/home/index/index',
  },
  {
    title: '代码示例',
    icon: 'code',
    level: 1,
    children: [
      {
        title: '列表',
        level: 2,
        routeUrl: '/home/template/list',
      },
      {
        title: '表单',
        level: 2,
        routeUrl: '/home/template/form',
      },
      {
        title: '树形表',
        level: 2,
        routeUrl: '/home/template/tree-table',
      },
    ],
  },
  {
    title: '代码测试',
    icon: 'bug',
    level: 1,
    routeUrl: '/home/test/index',
  },
];
